XpressUtils - Helping Sun Identity Management Professionals
   
 
Utilities
Tech Talk
Tip of the day
Starting IDM 7.1, a lock placed on a user-view following a "checkout view" is automatically removed in 5 minutes.

Current Poll
Which product (arranged below in alphabetical order), do you think has the best features in the 'Identity & Access Management' space today?

CA IDM
IBM Tivoli
Novell IDM
Oracle (Sun) IDM
Others (please specify)

Comments:

View previous poll results

Articles / Forum - Email Notifications --- "mass production" of similar emails

We hope you find the information below useful. This is a forum-thread. Feel free to provide your response and contribute to make this article better. Share, wiki and grow!
<< Back to all Articles

Email Notifications --- "mass production" of similar emails Posted by Stephen
on Feb 22, 01:04 PM
Rate this article
1 of 52 of 53 of 54 of 55 of 5
  

Subscribe to updates


I have a small problem.

I have customized my Create User form to send out Email Notifications to several different individuals, whenever a new user is created in IDM.

Here's the thing : about 90% of the Email Notifications are identical (same body, same subject, etc). But, they are going to different people in the organization (which means that the Receipient's address is different for each email being sent).

Of course, I can simply created 100 email templates, all of which are identical, but each one containing a different Receipient.

But, isn't there a much simpler way to do this? Is there a way to call on the SAME email template, but ---- depending on the particular situation ---- use separate Recipient addresses?

Perhaps, there is a Rule which I can create to automatically insert the appropriate Recipient's address for each email notification? Therefore, instead of creating 100 email templates, I only need to create just one. 

Any tips, please?

Thanks


Your Ad Here

Email Notifications --- "mass production" of similar emails Posted by Adi
on Feb 25, 10:08 PM
   

That's what email templates are for... create a template and use it multiple times :)

So in your case, you would create 1 template and use the 'notify' workflow service to send it to multiple recipients. If you have some variable within your template (such as firstname), the same may be passed as arguments to the 'notify' call.

Here's an example:

<Action name='send email' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify' />
    <Argument name='template' value='EmailTemplate-name' />
    <Argument name='toAddress' value='accountId or email-address' />
    <Argument name='attributes'>
        <map>
            <s>firstname</s>
            <ref>firstname</ref>
        </map>
    </Argument>
    <Argument name='catch' value='notificationException' />
</Action>



Your Ad Here

Email Notifications --- "mass production" of similar emails Posted by Stephen
on Feb 26, 01:09 AM
   
Thanks :=))

This helps


  

The views expressed in this article are solely those of its contributor(s) and are not necessarily endorsed by xpressutils.com. << Back to all Articles


Feedback

Feedback / Comments:

We value comments from XpressUtils users! We strive to make this site better for you each day, so all constructive comments are appreciated.
Please feel free to send us your feedback!
 
From: Achin Aug 30, 07:48 AM
Comment Hi, team i want to know how to add uid to LDAP groups. if any body knows please help
From: mike Aug 25, 09:08 AM
Comment Can you give an example to use this rule? What does it mean "The trick to achieve this is use the "P ...
From: ajay nalawade Jul 29, 08:43 AM
Comment i want information about how to call java from expree boolean isConnectionSuccessful=connectDB.co ...
From: Carrie Cain Jul 24, 05:22 AM
Comment Want more clients and customers? We will help them find you by putting you on the 1st page of Google ...
From: nimish Jul 20, 12:53 AM
Comment In Handy Tools, Test Regular Expressions is not working. anybody used it?
From: nimish Jul 13, 02:18 AM
Comment hi team, I have some problem related to configure openSSO. Can I ask you for this or should I go to ...
From: Anirudha Jul 13, 01:41 AM
Comment Wish you all the best...
From: hussain Jun 05, 06:59 AM
Comment Could u please provide an ebook for Sun Certified Integrator for Identity Manager 7.1
From: docsnyder May 07, 05:52 AM
Comment Hi! I have downloaded the rule tester JSP file and followed the instructions, but the following err ...
From: jagadisham Mar 21, 12:48 PM
Comment day by day it is improving...all the best!!!
View all comments >>

Submit a comment:

Name: required
E-mail: required
Comments: required
Submit Comments
Tip: If you have a question related to programming in Xpress or some functionality in IDM, please post it as a new article in the Articles section.

It's quick, easy and does not require you to sign-up too!
 
    Home | Terms of use | Contact us | Help    
  Copyright © 2008-2009 XpressUtils.com. All rights reserved.